package kr.co.nothingboard.module.board.dao;

import java.util.List;

import kr.co.fish.framework.dao.CustomerDao;
import kr.co.nothingboard.module.board.model.*;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Repository;

@Repository
public class BoardCategoryDao extends CustomerDao {
	
	@SuppressWarnings("unchecked")
	public List<BoardCategoryVo> getBoardCategoryList(BoardSearchDto search)
			throws DataAccessException {
		return (List<BoardCategoryVo>) queryForList("category.getBoardCategoryList", search);
	}
}
